package zhuyingying20240318;

/**
 * @Package:zhuyingying20240318
 * @Author:zhuyingying
 * @Created:2024/3/1821:20
 */
public class Round extends Diagram {
   public double r;

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public Round(double r) {
        this.r = r;
    }

    public double roundarea(){
        return this.r*this.r;
    }
    @Override
    public void draw(){
        super.draw();
    }



}
